package com.ty.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("role")
public class Role extends BasePojo{
    /*角色表*/
    @TableId(type = IdType.AUTO)
    private Integer id; //主键id
    private String roleName; //角色名
    private Integer state; //状态
    private Integer num; //角色排序
}
